<%@ page import="edu.uow.devdocs.Issue" %>


<tr><form action='search'>

	<td>
	<g:select name="priority" from="${1..5}" class="range" required="" value="${fieldValue(bean: issueInstance, field: 'priority')}"/>
	</td>



	<td>
	<g:textField name="description" maxlength="255" value="${issueInstance?.description}"/>
	</td>



	<td>
	<g:field type="number" name="estimatedHours" value="${fieldValue(bean: issueInstance, field: 'estimatedHours')}"/>
	</td>



	<td>
	<g:textField name="issue" value="${issueInstance?.issue}"/>
	</td>



	<td>
	<g:textField name="referenceNumber" maxlength="20" value="${issueInstance?.referenceNumber}"/>
	</td>



	<td>
	<g:select id="deployment" name="deployment.id" from="${edu.uow.devdocs.Deployment.active.list()}" optionKey="id" value="${issueInstance?.deployment?.id}" class="many-to-one" noSelection="['null': '']"/>
	</td>



	<td>
	<g:select id="project" name="project.id" from="${edu.uow.devdocs.Project.list()}" optionKey="id" required="" value="${issueInstance?.project?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="status" name="status.id" from="${edu.uow.devdocs.Status.list()}" optionKey="id" required="" value="${issueInstance?.status?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="person" name="person.id" from="${edu.uow.devdocs.Person.list()}" optionKey="id" required="" value="${issueInstance?.person?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="issueType" name="issueType.id" from="${edu.uow.devdocs.IssueType.list()}" optionKey="id" required="" value="${issueInstance?.issueType?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="downtimeReport" name="downtimeReport.id" from="${edu.uow.devdocs.DowntimeReport.list()}" optionKey="id" required="" value="${issueInstance?.downtimeReport?.id}" class="many-to-one"/>
	</td>

<button type='submit'>Go!</button></form></tr>
